//###############
// FILE : SerchTabInterface.java
// WRITER : Lior Zimmerman liorz06 066462300
// WRITER : Ohad Dan ohad_dan 036767960
// EXERCISE : oop ex3 2008
// DESCRIPTION:
//  Interface for search tab.
//###############
package oop.ex3.fileSearchView;
/**
 * Interface for search tab.
 */
public interface SearchTabInterface {
	/**
	 * Returns true if Filter-From-Text button is selected,
	 * otherwise false.
	 * @return True if Filter-From-Text button is selected,
	 * otherwise false.
	 */
    public boolean rdoFilterFromTextSelected();
    /**
     * Returns true if Filter-From-File button is selected,
     * otherwise false.
	 * @return True if Filter-From-File button is selected,
	 * otherwise false.
     */
    public boolean rdoFilterFromFileSelected();
    /**
     * Sets Filter-From-File button status.
     * @param val Button status.
     */
    public void rdoSetSelectedFilterFromFile(boolean val);
    /**
    * Sets Filter-From-Text button status.
    * @param val Button status.
    */
    public void rdoSetSelectedFilterFromText(boolean val);
    /**
     * Sets Work-Directory button status.
     * @param val Button status.
     */
    public void btnWorkDirSetEnabled(boolean val);
    /**
     * Sets Filter-From-File button status.
     * @param val Button status.
     */
    public void btnFilterFileSetEnabled(boolean val);
    /**
     * Sets Run button status.
     * @param val Button status.
     */
    public void btnRunSetEnabled(boolean val);
    /**
     * Sets Reset button status.
     * @param val Button status.
     */
    public void btnResetSetEnabled(boolean val);
    /**
     * Sets Work-Directory button status.
     * @param val Button status.
     */
    public void txtWorkDirSetEnabled(boolean val);
    /**
     * Returns Work-Directory text.
     * @return Work-Directory text.
     */
    public String txtWorkDirGetText();
    /**
     * Sets Work-Directory text.
     * @param text The text to be set.
     */
    public void txtWorkDirSetText( String text );
     /**
     * Sets Filter-From-File button status.
     * @param val Button status.
     */
    public void txtFilterFileSetEnabled(boolean val);
    /**
     * Returns the Filter-From-File text.
     * @return The Filter-From-File text.
     */
    public String txtFilterFileGetText();
    /**
     * Sets the Filter-From-File text.
     * @param text Text to be set at the filter from file.
     */
    public void txtFilterFileSetText(String text);
    /**
     * Sets Filter-Expression status.
     * @param val 
     */
    public void txtFilterExpSetEnabled(boolean val);
    /**
     * Returns the text from filter expression.
     * @return Text from filter expression.
     */
    public String txtFilterExpGetText();
    /**
     * 
     * Sets filter expression.
     * @param text The text to be set.
     */
    public void txtFilterExpSetText(String text);
    /**
     * Returns true if the filter-from-file button is enabled.
     * @return True if the filter-from-file button is enabled,
     * false otherwise.
     */
    public boolean txtFilterFileIsEnabled();
    /**
     * Return true if the work-directory button is enabled.
     * @return True if the work-directory button is enabled, 
     * false otherwise.
     */
    public boolean txtWorkDirIsEnabled();
    /**
     * Return true if the filter-expression button is enabled.
     * @return True if the filter-expression button is enabled,
     * false otherwise.
     */
    public boolean txtFilterExpIsEnabled();
}
